package cn.lbaicai.dao;

import java.util.List;

import cn.lbaicai.entity.RequestData;
import cn.lbaicai.entity.Role;

public interface RoleDao {
    int deleteByPrimaryKey(Integer id);

    int insert(Role record);

    int insertSelective(Role record);

    Role selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(Role record);

    int updateByPrimaryKey(Role record);
    
    List<Role> selectByRole(Role record);
    
    List<Role> selectByQuestData(RequestData<Role> record);
    
    int selectCountByQuestData(RequestData<Role> record);

	int delAllRole(List<Integer> id);
    
}